#gamecontainer{
	width: 640px;
	height: 480px;
	background:
		linear-gradient(135deg, #708090 11px, #d9ecff 12px, #d9ecff 14px, transparent 14px, transparent 57px, #d9ecff 57px, #d9ecff 59px, transparent 59px),
		linear-gradient(225deg, #708090 11px, #d9ecff 12px, #d9ecff 14px, transparent 14px, transparent 57px, #d9ecff 57px, #d9ecff 59px, transparent 59px)0 54px;
	background-color:#708090;
	border: 1px solid black;
}
.gamelayer{
	width: 640px;
	height: 480px;
	position: absolute;
	display: none;
}
/* 开始菜单 */
#gamestartscreen{
	padding-top: 250px;
	text-align: center;
}
#gamestartscreen img{
	margin: 10px;
	cursor:pointer;
}
/* 选择关卡页 */
#levelselectscreen{
	padding-top: 150px;
	padding-left: 50px;
}
#levelselectscreen input{
	margin: 20px;
	cursor: pointer;
	background: #36c;
	background:
		linear-gradient(115deg, transparent 75%, rgba(255,255,255,.8) 75%) 0 0,
		linear-gradient(245deg, transparent 75%, rgba(255,255,255,.8) 75%) 0 0,
		linear-gradient(115deg, transparent 75%, rgba(255,255,255,.8) 75%) 7px -15px,
		linear-gradient(245deg, transparent 75%, rgba(255,255,255,.8) 75%) 7px -15px,
		#36c;
	color: yellow;
	font-size: 20px;
	width: 64px;
	height: 64px;
	border: 0;
}
/* 加载画面 */
#loadingscreen{
	background: rgba(100, 100, 100, .3);
}
#loadingmessage{
	margin-top: 400px;
	text-align: center;
	height: 48px;
	color: white;
	background: url("https://img.zcool.cn/community/0131565aeff3c5a801219b7f6906a7.gif") no-repeat center;
	background-size: contain;
	font: 12px Arial;
}
/* 计分板 */
#scorescreen{
	height: 60px;
	font: 32px Comic Sans MS;
	text-shadow: 0 0 2px #000;
	color: white;
}
#scorescreen img{
	opacity: .6;
	top: 10px;
	position: relative;
	padding-left: 10px;
	cursor: pointer;
}
#scorescreen #score{
	position: absolute;
	top: 5px;
	right: 20px;
}
/* 结束画面 */
#endingscreen {
    text-align: center;
    background: rgba(1, 1, 1, 0.3);
}

#endingscreen div {

    /* Center the popup div within the screen */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;


    height: 250px;
    width: 330px;

    border: 1px solid gray;
    border-radius: 25px;
    background: rgba(1, 1, 1, 0.3);

    padding: 10px 30px 40px 50px;

    text-align: left;
}

.endingoption {
    font: 20px "Comic Sans MS";
    text-shadow: 0 0 2px black;
    color: white;
}

#endingscreen p img {
    top: 10px;
    position: relative;
    cursor: pointer;

    padding-right: 20px;
}

#endingmessage {
    font: 25px "Comic Sans MS";
    text-shadow: 0 0 2px black;
    color: yellow;
    text-align: center;
}